package aps

import glory.xxd.Utils

/**
 * 批次当前信息查询
 */
class SearchLotInfoController {

    def commentService

    def index() {

        def LotId = params.LotId ?: ""
        def body = CommentParams.newInstance()
        body.setLotId(LotId)

        String logUUID = Utils.getUUID();
        Header header = Header.newInstance()
        header.setMESSAGENAME("SearchLotInfo");
        header.setTRANSACTIONID(logUUID);
        def json = commentService.getJsonByObjectForQueue2Queue(logUUID, header, body)

//        print "SearchLotInfo"+json
        render json
    }
}
